# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=gnome-user-docs
pkgver=47.0
pkgrel=0
pkgdesc="GNOME User Documentation"
url="https://gitlab.gnome.org/GNOME/gnome-user-docs"
arch="noarch"
license="CC-BY-3.0"
makedepends="itstool libxml2-utils gettext-dev"
options="!check" # no tests
source="https://download.gnome.org/sources/gnome-user-docs/${pkgver%.*}/gnome-user-docs-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
fed6df4e88e8d96b79c554bf2709ee2feb785e4d1941f4368c3ede745d774e87feb940b43f4a19bb9ee42b5cda70c2f1a79f992e5f2294e57e98b9bba9c7fc13  gnome-user-docs-47.0.tar.xz
"
